<template>
	<section id="home">
		<!-- 搜索框 -->
		<van-search placeholder="请输入宝贝链接或名称" show-action @click="jumpSearch">
			<div slot="action" @click="jumpSearch">搜索</div>
		</van-search>
		
		<!-- banner -->
		<van-swipe :autoplay="3000" indicator-color="white">
		  <!-- <van-swipe-item>1</van-swipe-item>
		  <van-swipe-item>2</van-swipe-item>
		  <van-swipe-item>3</van-swipe-item>
		  <van-swipe-item>4</van-swipe-item> -->
		  <van-swipe-item v-for="(image, index) in images" :key="index">
			<img :src="image" />
		  </van-swipe-item>
		</van-swipe>
		
		
	</section>
</template>

<script>
	export default {
		data() {
			return {
				supValue: '',
				listMain: [],
				images:[
					'https://img.alicdn.com/imgextra/i2/2508158775/O1CN01Wlwbu72EgzxYgSlvH_!!2508158775.jpg',
					'https://img.alicdn.com/imgextra/i1/2508158775/O1CN01j8O5U72EgzxYgSZS2_!!2508158775.jpg'
				]
			};
		},
		components: {

		},
		methods: {
			jumpSearch() {
				this.$router.push({path:'/search'})
			},
		},
		mounted() {
			// this.$dialog.alert({
			// 	message: '感谢您对请静止系列网站的支持，目前端口8080,443(https)为请静止开发阶段内容，此内容有待完善，后续将正式在www.qingjingzhi.com开放，预计功能超级搜索·栏位展示·代理功能等！'
			// }).then(()=>{
			// 	window.location.href = 'http://www.qingjingzhi.com'
			// });
		},
		computed: {

		}
	};
</script>
<style scoped lang="scss">
	
</style>
